package cn.wolfcode.transfer.mapper;

import cn.wolfcode.transfer.domain.Department;
import cn.wolfcode.transfer.qo.QueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    List<Department> totalList(QueryObject qo);

    int updateByPrimaryKey(Department record);
}